﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Video.aspx.vb" Inherits="Training.Video" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<link rel="Stylesheet" type="text/css" media="screen" href="css/publicStyle.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="ctr" id="flasher" runat="server">
        <h2>Instructional Video for <%=vName%></h2>
        <!-- flash video -->
        <script type="text/javascript" language="javascript">
            if (AC_FL_RunContent == 0) {
                alert("This page requires AC_RunActiveContent.js.");
            } else {
                AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '400',
			'height', '345',
			'src', 'video/<%=fName %>',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', '<%=fName %>',
			'bgcolor', '#ffffff',
			'name', '<%=fName %>',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess', 'sameDomain',
			'movie', 'video/<%=fName %>',
			'salign', ''
			); //end AC code
            }
        </script>
        <noscript>
	        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 
	        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="400" height="345" id="getController" align="middle">
	        <param name="allowScriptAccess" value="sameDomain" />
	        <param name="allowFullScreen" value="false" />
	        <param name="movie" value="video/<%=fNameWExt %>" />
	        <param name="quality" value="high" />
	        <param name="bgcolor" value="#ffffff" />	
	        <embed src="video/<%=fNameWExt %>" quality="high" 
	            bgcolor="#ffffff" width="400" height="345" 
	            name="<%=fName %>" align="middle" 
	            allowScriptAccess="sameDomain" 
	            allowFullScreen="false" type="application/x-shockwave-flash" 
	            pluginspage="http://www.macromedia.com/go/getflashplayer" />
	        </object>
        </noscript>

    </div>
    <div class="ctr" id="wmvdiv" runat="server">
        <h2>Instructional Video for <%=vName%></h2>
        <!-- windows media -->
        <embed src="http://yourdomain.com/training/video/<%=fNameWExt %>"></embed>
    </div>
    <div class="ctr" id="err" runat="server">
        <asp:Label ID="lblErr" runat="server" Text="Error: Media request was not understood."></asp:Label>
    </div>
    </form>
</body>
<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
    try {
        var pageTracker = _gat._getTracker("UA-8222027-2");
        pageTracker._trackPageview();
    } catch (err) { }</script>
</html>
